/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/* 
 * File:   Object_pro.h
 * Author: dou
 *
 * Created on 2016年2月20日, 下午4:29
 */

#ifndef OBJECT_PRO_H
#define OBJECT_PRO_H

#ifdef __cplusplus
extern "C" {
#endif


#include "Object.h"

    
//类的toString返回的字符器长度最大长度
#define OBJECT_TO_STRING_MAX   256       
    
    OOC_CLASS_STA_DEF(OBJECT_PKG, Object);
    OOC_PUB_BLOCK_DEF(OBJECT_PKG, Object);        
    
    
    OOC_CLASS_PRO_DEF_(OBJECT_PKG, Object) {
        void (*finalize)(OOC_PEN(OBJECT_PKG, Object)* cthis); //需在每个类中去重载，，以自定制其资源释放过程
    };


    
    
#ifdef __cplusplus
}
#endif

#endif /* OBJECT_PRO_H */

